//
//  FileHandle.h
//  XIWenLeJian
//
//  Created by lanou3g on 15/11/17.
//  Copyright © 2015年 蓝足. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FileHandle : NSObject

@property (nonatomic, strong)NSString *userPlist;
+ (instancetype)fileHandle;
- (void)foundUserName:(NSString *)userName;
// 添加数据
- (void)addNewsInFileDic:(NSDictionary *)dic ID:(NSString *)ID;
- (void)addVideoInFileDic:(NSDictionary *)dic ID:(NSInteger)ID;

// 删除数据
- (void)removeNewsForID:(NSString *)ID;
- (void)removeVideoForID:(NSInteger)ID;

// 查找数据
- (NSDictionary *)foundVideoForID:(NSInteger)ID;
- (NSDictionary *)foundNewsForID:(NSString *)ID;

@end
